<!doctype html>
<head>
	<script src="../resources/text-based-repaint.js" type="text/javascript"></script>
	<script>
	function repaintTest() {
		document.getElementById("rect").focus();
	}
	</script>
	<style>
		div {
			height:150px; width:150px;
		}
		:focus { fill: green }
	</style>
</head>
<body onload="runRepaintAndPixelTest()">
	<div>
		<svg id="svg" height="150" width="150" viewbox="0 0 150 150">
			<rect id="rect" x="50" y="50" height="50" width="50" tabindex="1"/>
		</svg>
	</div>
</body>
